<?php
include("admin/cls/cls_user.php");
	$image_id=$_GET['image_id'];
	$user = new cls_user ();
	$var=$user->getImageTumbs($image_id);
	//recorres para obtener los datos
	while($show = mysql_fetch_array($var)){
	$image=$show['image'];
	header("Content-Type: image/jpeg"); 	
	echo $image; 
	}
	//header("Content-Type: $mime");
?>